package com.iemp.bean.impl;

import com.iemp.bean.IEntity;

import java.util.Date;

public class News implements IEntity {
    private Integer newsId;

    private Date newsPublishTime;

    private Integer newsStatus;

    private String newsTittle;

    private Integer newsAccountId;

    private String newsContent;

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Date getNewsPublishTime() {
        return newsPublishTime;
    }

    public void setNewsPublishTime(Date newsPublishTime) {
        this.newsPublishTime = newsPublishTime;
    }

    public Integer getNewsStatus() {
        return newsStatus;
    }

    public void setNewsStatus(Integer newsStatus) {
        this.newsStatus = newsStatus;
    }

    public String getNewsTittle() {
        return newsTittle;
    }

    public void setNewsTittle(String newsTittle) {
        this.newsTittle = newsTittle;
    }

    public Integer getNewsAccountId() {
        return newsAccountId;
    }

    public void setNewsAccountId(Integer newsAccountId) {
        this.newsAccountId = newsAccountId;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    @Override
    public Integer id() {
        return getNewsId();
    }

    @Override
    public void setId(Integer id) {
        setNewsId(id);
    }
}